package com.sky.constant;

public class NettyConstant {

    /** 保存用户与websocket 的映射关系 **/
    public static final String USER_CHANNEL_CACHE = "user_channel_cache:";

    /** 保存用户连接在哪台服务器上面 **/
    public static final String USER_SERVER_CACHE = "user_server_cache:";

    /** 读超时 **/
    public static final Integer READ_IDLE_TIME_OUT = 60;

    /** 写超时 **/
    public static final Integer WRITE_IDLE_TIME_OUT = 0;

    /** 所有超时 **/
    public static final Integer ALL_IDLE_TIME_OUT = 0;
}
